#ifndef _PWM_TEST_H_
#define _PWM_TEST_H_

#ifdef __cplusplus
extern "C" {
#endif

#include "stdint.h"
#include "stddef.h"
#include "stdio.h"
#include "iot_gpio.h"
#include "stm32f4xx_ll_gpio.h"
#include "stm32f4xx_ll_cortex.h"
#include "stm32f4xx_ll_system.h"
#include "stm32f4xx_ll_tim.h"
#include "ll_gpio.h"
#include "los_task.h"
#include "los_compiler.h"
#include "cmsis_os2.h"
#include "ohos_init.h"
#include "ohos_types.h"

//音符与索引对应表，P：休止符，L：低音，M：中音，H：高音，下划线：升半音符号#
#define P	0xff
#define L1	0
#define L1_	1
#define L2	2
#define L2_	3
#define L3	4
#define L4	5
#define L4_	6
#define L5	7
#define L5_	8
#define L6	9
#define L6_	10
#define L7	11
#define M1	12
#define M1_	13
#define M2	14
#define M2_	15
#define M3	16
#define M4	17
#define M4_	18
#define M5	19
#define M5_	20
#define M6	21
#define M6_	22
#define M7	23
#define H1	24
#define H1_	25
#define H2	26
#define H2_	27
#define H3	28
#define H4	29
#define H4_	30
#define H5	31
#define H5_	32
#define H6	33
#define H6_	34
#define H7	35


void pwm_entry();

#ifdef __cplusplus
}
#endif

#endif